﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <meta charset="utf-8" />
    <link href="../themes/bootstrap/easyui.css" rel="stylesheet" />
    <link href="../themes/icon.css" rel="stylesheet" />
    <script src="../Jquery-easyui-1.4.3/jquery.min.js"></script>
    <script src="../Jquery-easyui-1.4.3/jquery.easyui.min.js"></script>
    <script src="../scripts/Paging.js"></script>
</head>
<body>
    <fieldset style="border-color:#b0e0f8;">
        <legend>查找</legend>
        <table>
            <tr>
                <td>
                    消费日期：
                    <!--使用Javascript创建日期时间输入框-->
                    <input id="dt" type="text" name="birthday" />
                    <script>
                        $('#dt').datetimebox({
                            value: '3/4/2010 2:3',
                            required: true,
                            showSeconds: false
                        });
                    </script>
                </td>
                <td>
                    至：
                    <!--使用Javascript创建日期时间输入框-->
                    <input id="dd" type="text" name="birthday" />
                    <script>
                        $('#dd').datetimebox({
                            value: '3/4/2010 2:3',
                            required: true,
                            showSeconds: false
                        });
                    </script>
                </td>
                <td></td>
            </tr>
            <tr>
                <td>
                    卡号/手机：
                    <input type="text" class="easyui-textbox" id="txtTel" />
                </td>
                <td>
                    按会员等级：
                    <select id="cc" class="easyui-combobox" name="dept" style="width:100px;">
                        <option value="aa">aitem1</option>
                        <option>bitem2</option>
                        <option>bitem3</option>
                        <option>ditem4</option>
                        <option>eitem5</option>
                    </select>
                </td>
                <td>
                    减去积分：
                    <select id="cc" class="easyui-combobox" name="dept" style="width:100px;">
                        <option value="aa">>=</option>
                        <option><=</option>
                        <option>></option>
                        <option><</option>
                        <option>=</option>
                    </select>
                    <input type="text" class="easyui-numberbox" value="0.00" data-options="min:0,precision:2" />
                    <a id="btnSelect" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',toggle:true">查询</a>
                </td>
            </tr>
            <tr>
                <td>
                    订单号：
                    <input type="text" class="easyui-textbox" id="txtNumber" />
                </td>
            </tr>
        </table>
        <br />
    </fieldset>
        <table id="dg"></table>
        <script>
                $('#dg').datagrid({
                    fitColumns: true,
                    pagination: true,
                    singleSelect: true,
                    rownumbers: true,
                    method: "get",
                    url: '/Json/Statistics.json',
                    columns: [[
                          { field: 'ID', title: '订单编号', width: 90 },
                        { field: 'Card', title: '会员卡号', width: 90 },
                         { field: 'Name', title: '会员姓名', width: 90 },
                        { field: 'Integration', title: '减去积分', width: 90 },
                         { field: 'Time', title: '消费时间', width: 90 },
                        { field: 'Remark', title: '备注', width: 90 },
                    ]]
                });
        </script>
</body>
</html>
